Searched hist:f848a5a8dcb655553423f77cc98909a04e64173d (Results 1 – 3 of 3) sorted by last modified time
/linux/include/uapi/linux/ |
H A D | kvm.h | diff f848a5a8dcb655553423f77cc98909a04e64173d Mon Mar 31 20:50:38 CEST 2014 Michael S. Tsirkin <mst@redhat.com> KVM: support any-length wildcard ioeventfd
It is sometimes benefitial to ignore IO size, and only match on address. In hindsight this would have been a better default than matching length when KVM_IOEVENTFD_FLAG_DATAMATCH is not set, In particular, this kind of access can be optimized on VMX: there no need to do page lookups. This can currently be done with many ioeventfds but in a suboptimal way.
However we can't change kernel/userspace ABI without risk of breaking some applications. Use len = 0 to mean "ignore length for matching" in a more optimal way.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
/linux/arch/x86/kvm/ |
H A D | x86.c | diff f848a5a8dcb655553423f77cc98909a04e64173d Mon Mar 31 20:50:38 CEST 2014 Michael S. Tsirkin <mst@redhat.com> KVM: support any-length wildcard ioeventfd
It is sometimes benefitial to ignore IO size, and only match on address. In hindsight this would have been a better default than matching length when KVM_IOEVENTFD_FLAG_DATAMATCH is not set, In particular, this kind of access can be optimized on VMX: there no need to do page lookups. This can currently be done with many ioeventfds but in a suboptimal way.
However we can't change kernel/userspace ABI without risk of breaking some applications. Use len = 0 to mean "ignore length for matching" in a more optimal way.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|
/linux/virt/kvm/ |
H A D | eventfd.c | diff f848a5a8dcb655553423f77cc98909a04e64173d Mon Mar 31 20:50:38 CEST 2014 Michael S. Tsirkin <mst@redhat.com> KVM: support any-length wildcard ioeventfd
It is sometimes benefitial to ignore IO size, and only match on address. In hindsight this would have been a better default than matching length when KVM_IOEVENTFD_FLAG_DATAMATCH is not set, In particular, this kind of access can be optimized on VMX: there no need to do page lookups. This can currently be done with many ioeventfds but in a suboptimal way.
However we can't change kernel/userspace ABI without risk of breaking some applications. Use len = 0 to mean "ignore length for matching" in a more optimal way.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
|